package com.bjpowernode.servlets;

import java.io.IOException;

import javax.servlet.ServletConfig;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;

public class SomeServlet extends GenericServlet {

	@Override
	public void service(ServletRequest arg0, ServletResponse arg1) throws ServletException, IOException {
		System.out.println("执行SomeServlet的service()方法");
		// System.out.println(this.getServletConfig());
		// System.out.println(this.getInitParameter("company"));
	}

//	@Override
//	public void init(ServletConfig arg0) throws ServletException {
//		super.init(arg0);
//		System.out.println("SomeServlet init");
//	}
	@Override
	public void init() {
		System.out.println("SomeServlet init");
	}
}
